#include "Joint.h"


Joint::Joint(void)
{
}

Joint::Joint(float teta1, float teta2, float teta3)
{
	this->teta1 = teta1;
	this->teta2 = teta2;
	this->teta3 = teta3;
}

Joint::~Joint(void)
{
}

float Joint::getValue(joint J)
{
	if(J == TETA_1) return this->teta1;
	else if(J == TETA_2) return this->teta2;
	else if(J == TETA_3) return this->teta3;
	else return -1;
}